package com.nf.service;

import org.springframework.stereotype.Component;

@Component
public class StudentGirl implements Girl {

    @Override
    public void play() {
        System.out.println("吃饭");
    }

    @Override
    public void eat() {
        System.out.println("睡觉");
    }
}
